﻿using System;
using System.Data;
using System.Collections.Generic;
using Pan.Common;
using Tuan.Model;

namespace Tuan.BLL
{
    public class Question
    {
        private readonly Tuan.DAL.Question dal = new Tuan.DAL.Question();
        public Question()
        { }
        #region  成员方法

        /// <summary>
        /// 得到相应商品ID的相应问题
        /// </summary>
        public string SelectQuestion(int ProID, int Seq)
        {
            return dal.SelectQuestion(ProID, Seq);
        }

        /// <summary>
        /// 得到相应商品ID的相应问题的答案
        /// </summary>
        public string SelectAnswer(int ProID, int Seq)
        {
            return dal.SelectAnswer(ProID, Seq);
        }

        /// <summary>
        /// 得到相应商品ID的相应问题的链接
        /// </summary>
        public string SelectQuestLink(int ProID, int Seq)
        {
            return dal.SelectQuestLink(ProID, Seq);
        }

        /// <summary>
        /// 得到相应商品ID的问题答案
        /// </summary>
        public string SelectQuestNum(int ProID)
        {
            return dal.SelectQuestNum(ProID);
        }
        #endregion
    }
}
